As per my knowledge you need the pages of old passport with bio (1st few & last pages , i guess), stamps (entry/exits), observations etc etc & not blank pages & same rules apply for your new valid passport & everything has to be 1 pdf not exceeding 4 MB.
They only require your current passport. No harm in uploading the relevant pages from your previous passport. I wouldn't worry much about stamps in the old passport.